package com.xbongbong.paas.service;

import com.xbongbong.paas.pojo.dto.ProcessTypeListDTO;
import com.xbongbong.paas.pojo.vo.ProcessTypeListVO;
import com.xbongbong.pro.process.pojo.dto.ProcessAppFilterDTO;
import com.xbongbong.pro.process.pojo.dto.ProcessFormFilterDTO;
import com.xbongbong.pro.process.pojo.vo.ProcessAppFilterVO;
import com.xbongbong.pro.process.pojo.vo.ProcessFormFilterVO;
import com.xbongbong.paas.toolbox.exception.XbbException;

/**
 * Description: 流程列表筛选
 * @author 李杰
 * @date 2019/1/22 14:10
 * @version v1.0
 * @since v1.0
 */
public interface PaasProcessListSearchService {

    /**
     * app筛选列表
     * @param processAppFilterDTO
     * @return
     * @throws XbbException
     */
    ProcessAppFilterVO appFilter(ProcessAppFilterDTO processAppFilterDTO) throws XbbException;

    /**
     * 表单筛选列表
     * @param processFormFilterDTO
     * @return
     * @throws XbbException
     */
    ProcessFormFilterVO formFilter(ProcessFormFilterDTO processFormFilterDTO) throws XbbException;

    /**
     * 筛选项获取流程类型
     * @param processTypeListDTO processTypeListDTO
     * @return ProcessTypeListVO processTypeListVO
     * @throws XbbException XbbException
     */
    ProcessTypeListVO getProcessTypeList(ProcessTypeListDTO processTypeListDTO) throws XbbException;

}
